<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <title>项目列表</title>
    <?php require 'templates/common/head.html'; ?>
    <style type="text/css">
       .form_d{
           width:500px;
           margin: 20px auto;
       }
       .panel-heading a{color: #ffffff; cursor: pointer;}
    </style>
</head>
<body>

<div class="container-fluid">
    <?php require 'templates/common/nav.html'; ?>
    <div class="panel panel-primary">
        <div class="panel-heading">
            <?php require 'templates/user_manage/nav.html'; ?>
        </div>
        <div class="form_d">
            <form action="" method="post">
                昵称:<input type="text" name="name" id="namese" style="width: 120px">
                <input type="button" onclick="selectshow()" name="select" value="搜索用户">

            </form>
        </div>

        <form action="index.php?m=user_manage&a=addExpertPost" method="post">
            <input type="hidden" name="id" value="<?=$course['id']?>" />
            <div class="form_d"><span style="width: 180px">用   户:</span>
                <div id="xianshi">

                </div>
            </div>
            <div class="form_d">
                <input id="tijiao" type="submit" name="okn" value="提交">
            </div>
        </form>
    </div>

</div>

<script language="JavaScript">
    function selectshow(){
        var name= document.getElementById("namese").value;
        $.post('index.php?m=video_course&a=find_user',{name:name},function(data) {
            document.getElementById('xianshi').innerHTML='';
            document.getElementById("xianshi").innerHTML=data;

        });

    }
</script>
<?php require 'templates/common/foot.html'; ?>
</body>
</html>

